package org.example;

class Resource{
}
 
public enum SomeThing {
    INSTANCE;
    private final Resource instance;
    SomeThing() {
        instance = new Resource();
    }
    public Resource getInstance() {
        return instance;
    }
}